import { getServiceList, authsizeList } from './_action';
import axios from 'axios';

export function getList(state = { children: [] }, action) {
  switch (action.type) {
    case 'getList':
      return { children: action.text };
    default:
      return state;
  }
}
export function getDefaultList(state = { defaultKeys: [] }, action) {
  switch (action.type) {
    case 'getDefaultValue':
      return { defaultKeys: action.text };
    default:
      return state;
  }
}

// export default setCounter;

